@echo off
cls
SET BaseDir=%1%
SET OldName=%2%
SET NewName=%3%

if '%BaseDir%' == '' goto err
if '%OldName%' == '' goto err
if '%NewName%' == '' goto err

REN %BaseDir%\%OldName% %BaseDir%\%OldName% >> %LogPath%

